#一元二次方程求根
def solve_quadratic():
    try:
        a = float(input())
        b = float(input())
        c = float(input())
        
        if a == 0:
            if b == 0:
                print("Data error!")
            else:
                x = -c / b
                print(f"{x:.2f}")
        else:
            discriminant = b**2 - 4*a*c
            if discriminant < 0:
                print("该方程无实数解")
            elif discriminant == 0:
                x = -b / (2*a)
                print(f"{x:.2f}")
            else:
                x1 = (-b + discriminant**0.5) / (2*a)
                x2 = (-b - discriminant**0.5) / (2*a)
                if x1 < x2:
                    x1, x2 = x2, x1
                print(f"{x1:.2f} {x2:.2f}")
    
    except ValueError:
        print("请输入有效的数字")

solve_quadratic()
